Carbon


SetMenuItemFontID

Header: Menus.h Carbon status: Supported

Sets the font for a menu item.

OSErr SetMenuItemFontID (
    MenuHandle inMenu, 
    SInt16 inItem, 
    SInt16 inFontID
);
inMenu

A handle to the menu that contains the menu item for which you wish to set the font.

inItem

An integer representing the item number of the menu item.

inFontID

An integer representing the font ID that you wish to set.

function result

A result code.

DISCUSSION

The SetMenuItemFontID function enables you to set up a font menu with each item being drawn in the actual font.

See also the function GetMenuItemFontID.

VERSION NOTES

This function is available with Appearance Manager 1.0 and later.

AVAILABILITY

Supported in Carbon. Available in CarbonLib 1.0 and later when CarbonLib 1.0 or later is installed. Exported by CarbonLib 1.0 and later and by CarbonLib 1.0 and later.


© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)